//
//  Feed.h
//  collection
//
//  Created by 靖 张 on 11/23/11.
//  Copyright (c) 2011 Tsinghua University. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef enum FeedType_ {
    FeedType_Original,
    FeedType_Comment,
    FeedType_Forward
}
FeedType;

@interface Feed : NSObject

@property (nonatomic)           long long   feedID;
@property (nonatomic)           FeedType    feedType;
@property (nonatomic)           long long   userID;
@property (nonatomic, strong)   NSString*   nickname;
@property (nonatomic, strong)   NSString*   avatarURL;
@property (nonatomic, strong)   UIImage*    avatar;
@property (nonatomic, strong)   NSString*   text;
@property (nonatomic, strong)   NSDate*     publishTime;
@property (nonatomic, strong)   NSArray*    tags;
@property (nonatomic, strong)   NSArray*    picturesURL;
@property (nonatomic, strong)   NSArray*    pictures;
@property (nonatomic)           long long   favorNum;
@property (nonatomic)           long long   commentNum;
@property (nonatomic)           long long   forwardNum;
@property (nonatomic, strong)   Feed*       originalFeed;

@end
